package com.toycloud.business.service;

import com.toycloud.business.dto.params.FeedbackAnalysisParams;
import com.toycloud.business.dto.params.FeedbackRecordParams;
import com.toycloud.business.dto.params.SaveFeedbackRecordParams;
import com.toycloud.business.dto.results.CommonResult;
import com.toycloud.business.dto.results.FeedbackAnalysisResult;
import com.toycloud.business.dto.results.FeedbackRecordResult;
import com.toycloud.business.dto.results.FeedbackRecordResultVo;
import com.toycloud.system.utils.OnesUtil;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Author xqyang5
 * @Date 2024/9/18 18:00
 */
public interface IUserFeedBackService {
    CommonResult<List<FeedbackRecordResult>> getFeedbackRecordList(FeedbackRecordParams params);

    List<FeedbackRecordResultVo> getFeedbackRecordVO(FeedbackRecordParams params);

    CommonResult<FeedbackAnalysisResult> getFeedbackStatistics(FeedbackAnalysisParams params);

    CommonResult<String> exportFeedbackStatistics(FeedbackAnalysisParams params);

    CommonResult<List<OnesUtil.StatuDetail>> getTaskStatuses();

    CommonResult<Boolean> multiUpdateFeedbackStatistics();

    CommonResult<Boolean> saveFeedbackRecord(SaveFeedbackRecordParams param);

    CommonResult<Boolean> deleteFeedbackRecord(long id);

    CommonResult<String> multiUploadFile(MultipartFile[] files);

    CommonResult<Boolean> importFeedbackData(MultipartFile file,String username);



}
